package com.xxx.pojo;

/**
 * 
 * @author 陈金松
 * @since 2011-5-18
 */
public class Type extends BaseDomain{
	/**
	 * 类型名
	 */
	private String typeName;
	/**
	 * 父级类型
	 */
	private Long parentId;
	
	/**
	 * 类型
	 */
	private String type;
	
	/**
	 * 是否为热点
	 */
	private Boolean hot;
	
	/**
	 * 是否展开
	 */
	private Boolean expand;
	
	public String toString(){
		return "id：" + super.getId() + " type：" + type + " typeName：" + 
		this.typeName;
	}
	
	public Type() {}
	
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Boolean getHot() {
		return hot;
	}

	public void setHot(Boolean hot) {
		this.hot = hot;
	}

	public Boolean getExpand() {
		return expand;
	}

	public void setExpand(Boolean expand) {
		this.expand = expand;
	}
	
}
